home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM 1995 Fall / PD-ROM F95.toast / Programming / Programming Languages / PC Basic ƒ / PCBASIC MPW version / Read Me about PCBASIC MPW < prev   
Encoding:
Text File  |  1992-02-22  |  1.9 KB  |  65 lines  |  [TEXT/ttxt]

  1.  
  2.  
  3.  
  4.             How to use MPW version of PCBASIC
  5.             
  6.                         1/27/92
  7.                         
  8.         
  9.      These are very abreviated instructions for using the shareware version
  10. of PCBASIC. Refer to the PCBASIC Manual for more detailed information.
  11.  
  12.  
  13.     REQUIREMENTS
  14.        
  15.        This version requires the Macintosh Programmers Workshop, and the
  16.        MPW Assembler. If you do not have MPW, you can use the Stand Alone
  17.        version of PCBASIC on the same diskette.
  18.     
  19.  
  20.     INSTALLATION
  21.     
  22.        1) Move the MPW tool, "PCBASIC",  into your MPW "Tools" folder.
  23.        
  24.        2) Move the "BIncludes" folder into your MPW folder.
  25.        
  26.        3) Copy the demo program, "PCBASIC Demo" from the MPW Section of
  27.            the PCBASIC diskette, to a convenient spot on your disk. 
  28.        
  29.        3) Add these two lines to the "UserStartup" file in your MPW folder:
  30.        
  31.             Set BIncludes "{MPW}BIncludes:"
  32.             export BIncludes
  33.             
  34.        4) Set the Macintosh to 24-bit mode if necessary.  This requirement
  35.            is only for compiling. Your completed BASIC applications will
  36.            run in 32-bit mode.
  37.        
  38.        5) Restart MPW
  39.            
  40.            
  41.     COMPILING "PCBASICDemo"
  42.     
  43.        1) Set the directory to the "PCBASIC Demo" folder. Use the version
  44.            in the MPW section of the PCBASIC diskette. You can use the
  45.            "Set Directory…" command from the MPW Directory menu.
  46.            
  47.        2) To compile "PCBASICDemo.b", copy the following line to your
  48.            Worksheet and press [Enter]:
  49.        
  50.                    PCBASIC PCBASICDemo.b -c DEMO -b
  51.           
  52.           PCBASIC will compile the BASIC source and write the MPW commands
  53.            needed to Assemble and Link with the default resource file.
  54.            We call these commands the "Build Lines".
  55.          
  56.         NOTE: 
  57.           You could also type "PCBASIC…" and press [Enter] to start the
  58.           MPW "Commando" tool on PCBASIC. Select "Make Build Lines" and
  59.           set the Creator to "DEMO"
  60.        
  61.        3)  Select all of the Build Lines, starting with "ASM -w …",
  62.             and press [Enter]. If everything is correct, MPW will
  63.             complete and run the PCBASICDemo program.
  64.  
  65.